HubspotManager
HubspotManager class enable and disable logs @see enableLogs& @seedisableLogs It manages the configuration changes from the assets file @see configure It also builds chatURL @see chatUrl It stores the email and token in memory @see setUserIdentity It sets chat properties for chat session @see getChatProperties& @see setChatProperties It sends the PushToken to Hubspot API @see setPushToken
Functions
Create chat URL for hubspot webview
This method is used for deleting the push token via Hubspot API
Disable the logs
Enable the logs
Getter method for the current chat session properties
Getter method for hubspot DefaultChatFlow
Getter method for hubspot Environment
Getter method for hubspot portal id
This method is used for getting a PushToken from the shared preferences
Sets properties for current chat session
This method is used for sending the token via Hubspot API
Set the user identity token and email. These will be included when starting a chat session to identify the users. These values are only stored in memory and aren't persisted. These values are set when user use the setUserIdentity with passing email and token